package top.lyunz.fangkeji.mapper;

import java.util.List;

import top.lyunz.fangkeji.bean.Company;
import top.lyunz.fangkeji.bean.pageselect;

public interface companyMapper {
	int companyAdd(Company company);

	Company getCompanyBycIdentity(String cIdentity);

	int delByCid(int cid);

	List<Company> getCompaniesBypage(pageselect pageselect);

	List<Company> getCompaniesByParentLevel(int cid);

	Company getCompanyByCid(int cid);

	int updCompany(Company company);

	List<Company> getAllAuthorizationCompanyByeSn(String eSn);
	
	List<Company> getCompaniesByCname(String cName);
}
